const Router = require('koa-router')
const router = new Router()
const uefileController = require('../controllers/uefileController')

// 同步文件
router.get('/download/:fileName', uefileController.download)
router.post('/addsyncFile', uefileController.addsyncFile)
router.post('/updatesyncFile', uefileController.updatesyncFile)
router.post('/getsyncFile', uefileController.getsyncFile)
router.post('/deletesyncFile', uefileController.deletesyncFile)
router.get('/clustersyncFile', uefileController.clustersyncFile)
module.exports = router
